package com.dq.Week1.day04.method;
import com.dq.Week1.day03.method.Qfsy2306Utils;
import java.util.Scanner;

//方法不能嵌套
//形参与实参数量一致
public class Demo01 {
    public static void main(String[] args) {
        Scanner scanner = new Scanner(System.in);
        System.out.println("请输入用户名：");
        String username = scanner.next();
        System.out.println("请输入密码：");
        String password = scanner.next();

        if(Qfsy2306Utils.login(username,password))
        {
            System.out.println("登陆成功");
        }else {
            System.out.println("登陆失败");
        }


    }
}
